package com.example.helper2.adapter;

import androidx.annotation.Nullable;
import androidx.recyclerview.widget.RecyclerView;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.example.helper2.R;
import com.example.helper2.base.SimpleRecyclerAdapter;
import com.example.helper2.base.SimpleViewHolder;
import com.example.helper2.bean.SortItem;


public class RightBigSortViewHolder extends SimpleViewHolder<SortItem> {

    TextView tvTitle;

    public RightBigSortViewHolder(View itemView, @Nullable SimpleRecyclerAdapter<SortItem> adapter) {
        super(itemView, adapter);
        tvTitle = (TextView) itemView.findViewById(R.id.tv_title);
    }

    @Override
    protected void refreshView(SortItem data) {
        tvTitle.setText(data.name);
    }

}
